projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2ced5a
)
(gdb-tooltip-print): Avoid "Non-X frame used"
author
Nick Roberts
<nickrob@snap.net.nz>
Tue, 28 Apr 2009 10:35:41 +0000
(10:35 +0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Tue, 28 Apr 2009 10:35:41 +0000
(10:35 +0000)
error with gud-tooltip-mode in the Linux console.
lisp/progmodes/gdb-ui.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/gdb-ui.el
b/lisp/progmodes/gdb-ui.el
index 34c13b6948fc50d4fa5eb67907477f392b7fc0fc..5eb44caa7a67bfe6354f03c946de5499b985a1a5 100644
(file)
--- a/
lisp/progmodes/gdb-ui.el
+++ b/
lisp/progmodes/gdb-ui.el
@@
-504,7
+504,8
@@
otherwise do not."
(buffer-string))))
;; remove newline for gud-tooltip-echo-area
(substring string 0 (- (length string) 1))))
- (or gud-tooltip-echo-area tooltip-use-echo-area)))
+ (or gud-tooltip-echo-area tooltip-use-echo-area
+ (not (display-graphic-p)))))
;; If expr is a macro for a function don't print because of possible dangerous
;; side-effects. Also printing a function within a tooltip generates an